make a saner default adjustment (from 0 to 100) instead. I'm not sure if
authorManish Singh <yosh@src.gnome.org>
Mon, 23 Nov 1998 12:29:03 +0000 (12:29 +0000)
committerManish Singh <yosh@src.gnome.org>
Mon, 23 Nov 1998 12:29:03 +0000 (12:29 +0000)
* gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
default adjustment (from 0 to 100) instead. I'm not sure if this
is the correct level for the fix, but gtk_progress_bar_new()'s
original default behavior is restored.

-Yosh

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkprogress.c

index 7f7b2c65feed8fbda76a67afb1e6871ef396e4dd..c59e0bef2c2b807d4959ae67de9eb7f691b18b3a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
+       default adjustment (from 0 to 100) instead. I'm not sure if this
+       is the correct level for the fix, but gtk_progress_bar_new()'s
+       original default behavior is restored.
+
 1998-11-23  Martin Baulig  <martin@home-of-linux.org>
 
        * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so
index 7f7b2c65feed8fbda76a67afb1e6871ef396e4dd..c59e0bef2c2b807d4959ae67de9eb7f691b18b3a 100644 (file)
@@ -1,3 +1,10 @@
+Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
+       default adjustment (from 0 to 100) instead. I'm not sure if this
+       is the correct level for the fix, but gtk_progress_bar_new()'s
+       original default behavior is restored.
+
 1998-11-23  Martin Baulig  <martin@home-of-linux.org>
 
        * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so
index 7f7b2c65feed8fbda76a67afb1e6871ef396e4dd..c59e0bef2c2b807d4959ae67de9eb7f691b18b3a 100644 (file)
@@ -1,3 +1,10 @@
+Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
+       default adjustment (from 0 to 100) instead. I'm not sure if this
+       is the correct level for the fix, but gtk_progress_bar_new()'s
+       original default behavior is restored.
+
 1998-11-23  Martin Baulig  <martin@home-of-linux.org>
 
        * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so
index 7f7b2c65feed8fbda76a67afb1e6871ef396e4dd..c59e0bef2c2b807d4959ae67de9eb7f691b18b3a 100644 (file)
@@ -1,3 +1,10 @@
+Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
+       default adjustment (from 0 to 100) instead. I'm not sure if this
+       is the correct level for the fix, but gtk_progress_bar_new()'s
+       original default behavior is restored.
+
 1998-11-23  Martin Baulig  <martin@home-of-linux.org>
 
        * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so
index 7f7b2c65feed8fbda76a67afb1e6871ef396e4dd..c59e0bef2c2b807d4959ae67de9eb7f691b18b3a 100644 (file)
@@ -1,3 +1,10 @@
+Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
+       default adjustment (from 0 to 100) instead. I'm not sure if this
+       is the correct level for the fix, but gtk_progress_bar_new()'s
+       original default behavior is restored.
+
 1998-11-23  Martin Baulig  <martin@home-of-linux.org>
 
        * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so
index 7f7b2c65feed8fbda76a67afb1e6871ef396e4dd..c59e0bef2c2b807d4959ae67de9eb7f691b18b3a 100644 (file)
@@ -1,3 +1,10 @@
+Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
+       default adjustment (from 0 to 100) instead. I'm not sure if this
+       is the correct level for the fix, but gtk_progress_bar_new()'s
+       original default behavior is restored.
+
 1998-11-23  Martin Baulig  <martin@home-of-linux.org>
 
        * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so
index 7f7b2c65feed8fbda76a67afb1e6871ef396e4dd..c59e0bef2c2b807d4959ae67de9eb7f691b18b3a 100644 (file)
@@ -1,3 +1,10 @@
+Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
+       default adjustment (from 0 to 100) instead. I'm not sure if this
+       is the correct level for the fix, but gtk_progress_bar_new()'s
+       original default behavior is restored.
+
 1998-11-23  Martin Baulig  <martin@home-of-linux.org>
 
        * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so
index 586d58b276593979c4633bacd589823df9c3fa8e..dd3b7a5e65d90389b3e82896c21a9676c8fc609d 100644 (file)
@@ -452,7 +452,7 @@ gtk_progress_set_adjustment (GtkProgress   *progress,
   if (adjustment)
     g_return_if_fail (GTK_IS_ADJUSTMENT (adjustment));
   else
-    adjustment = (GtkAdjustment*) gtk_object_new (GTK_TYPE_ADJUSTMENT, NULL);
+    adjustment = (GtkAdjustment*) gtk_adjustment_new (0, 0, 100, 0, 0, 0);
 
   if (progress->adjustment != adjustment)
     {